home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1320 / 1320.xpi / chrome / gmanager.jar / content / options / options.xml < prev    next >
Extensible Markup Language  |  2010-01-22  |  1KB  |  55 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- 
  4.   Gmail Manager
  5.   By Todd Long <longfocus@gmail.com>
  6.   http://www.longfocus.com/firefox/gmanager/
  7.  -->
  8.  
  9. <bindings xmlns="http://www.mozilla.org/xbl"
  10.         xmlns:xbl="http://www.mozilla.org/xbl"
  11.         xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12.         
  13.     <binding id="gmanager-account-listitem"
  14.             extends="chrome://global/content/bindings/listbox.xml#listitem">
  15.             
  16.         <content allowevents="true">
  17.             <children>
  18.                 <xul:listcell>
  19.                     <xul:image class="gmanager-icon"
  20.                             iconsize="small"
  21.                             xbl:inherits="icontype,status,newMail"/>
  22.                             
  23.                     <xul:label xbl:inherits="value=email"/>
  24.                 </xul:listcell>
  25.                 
  26.                 <xul:listcell pack="center">
  27.                     <xul:checkbox anonid="checkbox"
  28.                                 xbl:inherits="checked"/>
  29.                 </xul:listcell>
  30.             </children>
  31.         </content>
  32.         
  33.         <implementation>
  34.             <property name="email"
  35.                     onget="return this.getAttribute('email');"
  36.                     onset="return this.setAttribute('email', val);"/>
  37.                     
  38.             <property name="checked"
  39.                     onget="return document.getAnonymousElementByAttribute(this, 'anonid', 'checkbox').checked;"/>
  40.         </implementation>
  41.     </binding>
  42.     
  43.     <binding id="gmanager-donate-menuitem"
  44.             extends="chrome://global/content/bindings/menu.xml#menuitem">
  45.             
  46.         <content>
  47.             <xul:label flex="1"
  48.                     xbl:inherits="value=label"/>
  49.                     
  50.             <xul:spacer width="40"/>
  51.             
  52.             <xul:label xbl:inherits="value=site"/>
  53.         </content>
  54.     </binding>
  55. </bindings>